// 建议所有项目自定义样式放在该文件夹下

// 模态框视图顶部距离
.ibiz_wrap_modal .ant-modal-body {
    padding-top: 0px;
}

// 模态框标题，模态框下显示
.ibiz-modal-view-show-title {
    display: block;
    margin: 0px -12px;
    padding: 12px 12px 12px 12px;
}

// 模态框标题，非模态框下隐藏
.ibiz-modal-view-hide-title {
    display: none;
}

// 模态框视图标题左内边距设置为0
.ibiz-modal-view-title .ant-card-head {
    padding-left: 0;
}

// 搜索表单内边框设置为0
.ibiz-search-form .ant-card-body {
    padding: 0px !important;
    .ibiz-formitem {
        margin-bottom: 12px;
    }
}

//索引选择项样式
.ibiz-pickupdata-item {
    line-height: 40px;
    padding: 0 16px;
    width: fit-content;
    background: #f5f5f5;
    border-radius: 8px;
}
//索引选择项字体样式
.ibiz-pickupdata-item a {
    color: #999;
}
//索引选择项选中背景样式
.ibiz-pickupdata-item.actived {
    background: #108ee9;
}
//索引选择项选中字体样式
.ibiz-pickupdata-item.actived a {
    color: #fff;
}
//索引选择页底部样式
.ibiz-pickup-footer {
    margin: 0 -16px;
    padding: 16px 16px 0 16px;
    border-top: 1px solid #efe3e5;
}

//向导页内容区背景颜色
.ibiz-wizardpanel .ant-layout {
    background: initial;
}
//向导页底部背景颜色
.ibiz-wizardpanel .ant-layout-footer {
    background: initial;
    text-align: center;
}
//隐藏数据选择下拉按钮
.ibiz-pickup.picker_ac .ant-select-arrow, .ibiz-pickup.ac .ant-select-arrow {
    display: none;
}

.action-menu .ant-popover-inner-content {
    padding: 8px 0;
}
.action-menu .action-item {
    cursor: pointer;
    padding: 3px 16px;
}
.action-menu .action-item:hover {
    background: #3b73af;
    color: #fff;
}
.action-menu .action-item > .action-item-check {
    margin-left: -5px;
}
.hidden {
    display: none;
}

//全局隐藏
.ibiz-hide {
    display: none !important;
}
//全局显示
.ibiz-show {
    display: block !important;
}

// 时间轴样式开始
.ibiz-timeline-title {
    height: 48px;
    background-color: #eff6fa;
}

.ibiz-timeline-content {
    background-color: #F9F9F9;
}

.ibiz-timeline-memo {
    color: #333333;
    padding: 13px 10px 0px 10px;
}

.ibiz-timeline-time {
    color: #999999;
    padding: 10px 10px 5px 10px;
}

.ibiz-timeline-name, .ibiz-timeline-tag {
    margin: 13px 20px;
    display: inline-block;
    color: #108ee9;
    font-weight: bold;
}
// 时间轴样式结束


// 表单错误提示信息
form .ant-form-item-with-help {
    margin-bottom: 24px !important;
}

// 表格视图分页宽度调整
.ant-select-dropdown-menu {
    outline: none;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    max-height: 350px !important;
    overflow: auto;
}


// 视图二级导航栏及布局
.ibiz-two-level-navigation {
    height: 60px;
    display: block;
    background-color: #fff;
    padding: 16px 24px;
    margin: 0 -24px 0 -24px;
    border-bottom: 1px solid #d9d9d9;
    outline: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: fixed;
    top: 64px;
    left: 200px;
    right: 0;
    margin: 0;
    z-index: 10;
}

.aside-collapsed .ibiz-two-level-navigation {
    left: 64px;
}

.ibiz-navigation-space  {
    height: 60px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-right: -24px;
    margin-left: -24px;
    margin-bottom: 24px;
    display: block;
}

.ibiz-navigation-toolbar {
    position: fixed;
    top: 75px;
    right: 24px;
    z-index: 20;
}

.ibiz-modalview-toolbar {
    float: right;
}

// 低分屏下视图二级导航栏及布局
@media (max-width: 991px) {
    .ibiz-two-level-navigation {
        left: -24px;
        top: 0px;
    }
    .aside-collapsed .ibiz-two-level-navigation {
        left: -24px;
        right: -24px;
    }
    .ibiz-navigation-toolbar {
        top: 12px;
        right: 0px;
    }
}

// 全屏设置
.aside-collapsed .ibiz-fullscreen {
    margin: 0px 24px 24px 24px;
}

.aside-collapsed .ibiz-fullscreen .ibiz-two-level-navigation {
    top: 0px;
    left: 0px;
}

.ibiz-fullscreen .ibiz-navigation-toolbar {
    top: 12px;
}

// 全屏设置 低分屏下视图二级导航栏及布局
@media (max-width: 991px) {
    .aside-collapsed .ibiz-fullscreen .ibiz-two-level-navigation {
        top: 0px;
        left: -24px;
    }
}

//添加下拉框最小高度
.ant-select-dropdown-menu-item {
    min-height: 35px;
}

// 正式全屏设置
.fullscreen .fullscreen_content .ibiz-navigation-toolbar {
    position: fixed;
    top: 12px;
    right: 24px;
    z-index: 20;
}

.ibiz-app-notify {
    .ant-popover-arrow {
        border-bottom-color: #ffffff !important;
        top: 1px !important;
        border-width: 8px;
        right: 14px;
    }
    .ant-popover-inner-content {
        padding: 0px !important;
        background-color: #fff;
        background-clip: padding-box;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
    }
}

ngx-loading {
    .backdrop {
        z-index: 1999;
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .spinner-three-bounce {
        width: 70px;
        text-align: center;
        position: fixed !important;
        top: 25% !important;
        left: 0;
        right: 0;
        bottom: 0;
        height: 20px;
        margin: auto;
        z-index: 2000;
    }
}

